package com.zhz.system.contract.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * 保存角色请求参数
 *
 * @author zhouhengzhe
 * @date 2023/4/27
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class RoleSaveRequest {

    @ApiModelProperty("权限名称")
    @NotBlank(message = "权限名称不能为空")
    private String name;

    @ApiModelProperty("说明")
    private String description;

    @ApiModelProperty("企业id")
    private String companyId;
}
